You can create out-of-band (OOB) BGP peer group and BGP static or dynamic peer for the use in XCO. Provide the exact BGP peer group or BGP peer configuration in XCO. The configuration enables XCO to manage the BGP peer group and BGP peer created by OOB.
(efa:root)root@node-2:~# efa tenant service bgp peer-group create --name ten1bgppg1 --tenant ten1 --pg-name 10.20.246.15:pg1 --pg-asn 10.20.246.15,pg1:65001 --pg-name 10.20.246.16:pg1 --pg-asn 10.20.246.16,pg1:65001 --pg-ipv6-uc-nbr-activate <device-ip,pg-name:true/false> Error : conflicting peer group: [10.20.246.15,pg1:,65001,false,,] and [10.20.246.15,pg1:,65002,false,,] which is not created by Tenant service (efa:root)root@node-2:~# efa tenant service bgp peer-group create --name ten1bgppg1 --tenant ten1 --pg-name 10.20.246.15:pg1 --pg-asn 10.20.246.15,pg1:65002 --pg-name 10.20.246.16:pg1 --pg-asn 10.20.246.16,pg1:65001 --pg-ipv6-uc-nbr-activate <device-ip,pg-name:true/false> Error : conflicting peer group: [10.20.246.16,pg1:,65001,false,,] and [10.20.246.16,pg1:,65002,false,,] which is not created by Tenant service (efa:root)root@node-2:~# efa tenant service bgp peer-group create --name ten1bgppg1 --tenant ten1 --pg-name 10.20.246.15:pg1 --pg-asn 10.20.246.15,pg1:65002 --pg-name 10.20.246.16:pg1 --pg-asn 10.20.246.16,pg1:65002 --pg-ipv6-uc-nbr-activate <device-ip,pg-name:true/false> BgpService created successfully. (efa:root)root@node-2:~# efa tenant service bgp peer-group show ================================================================================================================ Name : ten1bgppg1 Tenant : ten1 State : bgp-pg-created +-------------+------+--------+---------+----------+--------+-------------------------+------------+-----------+ | Device IP | Peer | Remote |Next Hop | Update | BFD | BFD | Dev State | App State | | | Group| ASN | Self |Source IP |Enabled |[Interval,Rx,Multiplier] | | | +-------------+------+--------+---------+----------+--------+-------------------------+------------+-----------+ | 10.20.246.16| pg1 | 65002 | false | | false | |provisioned |cfg-in-sync| +-------------+------+--------+---------+----------+--------+-------------------------+------------+-----------+ | 10.20.246.15| pg1 | 65002 | false | | false | |provisioned |cfg-in-sync| +-------------+------+--------+---------+----------+--------+-------------------------+------------+-----------+ BGP PeerGroup Details ================================================================================================================
(efa:root)root@node-2:~# efa tenant service bgp peer create --name ten1bgppeer1 --tenant ten1 --ipv4-uc-dyn-nbr 10.20.246.15,ten1vrf1:10.20.30.0/23,pg1,100 --ipv4-uc-dyn-nbr 10.20.246.15,ten1vrf1:10.20.40.0/23,pg1,100 --ipv4-uc-dyn-nbr 10.20.246.16,ten1vrf1:10.20.30.0/23,pg1,100 --ipv4-uc-dyn-nbr 10.20.246.16,ten1vrf1:10.20.40.0/23,pg1,50 Error : conflicting dynamic neighbors: [10.20.246.16,ten1vrf1:10.20.40.0/23,pg1,50] and [10.20.246.16,ten1vrf1:10.20.40.0/23,pg1,100] (efa:root)root@node-2:~# efa tenant service bgp peer create --name ten1bgppeer1 --tenant ten1 --ipv4-uc-dyn-nbr 10.20.246.15,ten1vrf1:10.20.30.0/23,pg1,100 --ipv4-uc-dyn-nbr 10.20.246.15,ten1vrf1:10.20.40.0/23,pg1,100 --ipv4-uc-dyn-nbr 10.20.246.16,ten1vrf1:10.20.30.0/23,pg1,100 --ipv4-uc-dyn-nbr 10.20.246.16,ten1vrf1:10.20.40.0/23,pg1,100 BGP Peer created successfully. (efa:root)root@node-2:~# efa tenant service bgp peer show =============================================================================================== Name : ten1bgppeer1 Tenant : ten1 State : bgp-peer-created +----------+----+----+-----+------+------+--------+---------+-------+------------------------+-----+-----+ |Device IP |VRF |AFI |SAFI |Remote|Remote|Next Hop| Update | BFD | BFD |Dev |App | | | | | |IP |ASN | Self |Source IP|Enabled|[Interval,Rx,Multiplier]|State|State| +----------+----+----+-----+------+------+--------+---------+-------+------------------------+-----+-----+ Static Peer Details +--------------+---------+------+--------+--------------+------+------+------------+-----------+ | Device-IP | VRF | AFI | SAFI | Listen Range |Listen| Peer | Dev State | App State | | | | | | |Limit | Group| | | +--------------+---------+------+--------+--------------+------+------+------------+-----------+ | 10.20.246.16 |ten1vrf1 | ipv4 | unicast| 10.20.30.0/23| 100 | pg1 |provisioned |cfg-in-sync| +--------------+---------+------+--------+--------------+------+------+------------+-----------+ | 10.20.246.16 |ten1vrf1 | ipv4 | unicast| 10.20.40.0/23| 100 | pg1 |provisioned |cfg-in-sync| +--------------+---------+------+--------+--------------+------+------+------------+-----------+ | 10.20.246.15 |ten1vrf1 | ipv4 | unicast| 10.20.30.0/23| 100 | pg1 |provisioned |cfg-in-sync| +--------------+---------+------+--------+--------------+------+------+------------+-----------+ | 10.20.246.15 |ten1vrf1 | ipv4 | unicast| 10.20.40.0/23| 100 | pg1 |provisioned |cfg-in-sync| +--------------+---------+------+--------+--------------+------+------+------------+-----------+ Dynamic Peer Details ===============================================================================================